package com.lp.service;

import com.lp.po.Scenery;

import java.util.List;


public interface SceneryService {
    int getCount() throws Exception;
    int getCountByName(String sname) throws Exception;
    List<Scenery> findAllScenery(Integer toPageNo);
    boolean save(Scenery scenery);
    void delectScenery(Integer id);
    List<Scenery> findBySceneryName(Integer toPageNo,String sname);
    Scenery findById(Integer id);
    void updataSceneryWhitId(Integer id,String sname,Double latitude,Double longitude,Integer width,String tximg,String floor,String description,Integer scenerylistid);



    /*小程序模块*/
    List<Scenery> wxfindAllScenery(Integer scenerylistid);
    List<Scenery> wxfindSceneryByName(String sname);
}
